package com.anytron.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "app_configs")
public class AppConfigs implements Serializable {
	
	private static final long serialVersionUID = 4766865620837252855L;
	@Id
	@Column(name="id")
	private Long id; 
	@Column(name="app_id")
	private Long appId; 
	@Column(name="config_name")
	private String configName; 
	@Column(name="apollo_namespace")
	private String apolloNamespace; 
	@Column(name="config_path")
	private String configPath; 
	@Column(name="need_effective")
	private Integer needEffective; 
	@Column(name="create_time")
	private Date createTime;
	@Column(name="update_time")
	private Date updateTime;
	@Transient
	private String appName;
	
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getAppId() {
		return appId;
	}
	public void setAppId(Long appId) {
		this.appId = appId;
	}
	public String getConfigName() {
		return configName;
	}
	public void setConfigName(String configName) {
		this.configName = configName;
	}
	public String getApolloNamespace() {
		return apolloNamespace;
	}
	public void setApolloNamespace(String apolloNamespace) {
		this.apolloNamespace = apolloNamespace;
	}
	public String getConfigPath() {
		return configPath;
	}
	public void setConfigPath(String configPath) {
		this.configPath = configPath;
	}
	public Integer getNeedEffective() {
		return needEffective;
	}
	public void setNeedEffective(Integer needEffective) {
		this.needEffective = needEffective;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	
	
}
